<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../../../../../dist/vue/dist/vue.min.js"> </script>
	</head>
	<style type="text/css">
		#dv1{
			width: 200px;
			height: 200px;
			background-color: deepskyblue;
		}
		
	</style>
	<body>
		<div id="dv1" @contextmenu="dv3">   
		
		</div>
	</body>
	<script>
		  var vm=new Vue({
		  	   el:'#dv1',
		  	   data:{
		  	   	msg:'aaaaa'
		  	   },
		  	   methods:{
		  	   	 
		  	   	  dv3:function(ev){
		  	   	  	 console.log(111)
		  	   	  	 ev.preventDefault()   //原生js阻止默认行为使用事件对象的preventDefault方法实现
		  	   	  }
		  	   }
		  })
		


	</script>
</html>
